package com.chen.root.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chen.root.base.BaseDO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * <p>
 * 公共配置
 * </p>
 *
 * @author ChenJinLong
 * @since 2024-07-18 09:57:20
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("sys_com_config")
@ApiModel(value = "CommonConfig对象", description = "公共配置")
public class SysComConfig extends BaseDO {

    @TableId
    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("配置名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("值")
    @TableField("value")
    private String value;

    @ApiModelProperty("分组，默认：default_group")
    @TableField("group_name")
    private String groupName;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;

}
